object Test {
  def f(g:{val update:Unit}) = g.update 
  
  def main(args: Array[String]): Unit = {
    
  }
}
